

function getRandomRate(min: number, max: number): number {
 return Math.random() * (max - min) + min;
}

export const mock = {
 backBalckIcon: 'https://i.postimg.cc/Y26tVnTv/Back-Black-Icon.png',
 coordIcon: 'https://i.postimg.cc/CLJSMZhY/CityIcon.png',

 // 优选推荐
 optimizationList: {
  title: 'Discover new places',
  list: [
   {
    id: 1,
    url: "https://img0.baidu.com/it/u=331295850,1794768872&fm=253&fmt=auto?w=1422&h=800",
    title: "Dreamy Coastline",
    subtitle: "Explore Tranquil Beauty",
    city: "San Jose, Costa Rica",
    rate: 4.5,
    description: "On this dreamy coastline, it's not just simple hellos but stories of lizards, dolphins, horses, and turtles. How tightly they are intertwined, how they find humility amidst severity and rigor, and how they remain opaque in challenging environments. This is a place of unmatched safety and poetic beauty, where one can feel the miracles and infinite beauty of nature."
   },
   {
    id: 2,
    url: "https://img0.baidu.com/it/u=2350334484,1086762740&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500",
    title: "Lush Rainforest Adventure",
    subtitle: "Enter Uncharted Territory",
    city: "Talamanca, Costa Rica",
    rate: 5,
    description: "In this lush rainforest, there's not much distance between horse and unload, just dear meticulous pangolins. Here, you will discover the mysteries of nature, experience the tranquility and mystery deep in the forest. Nightingales chirp here, plankton swirl on the water surface, and light filters through leaves onto the ground, creating a magnificent scene."
   },
   {
    id: 3,
    url: "https://img2.baidu.com/it/u=3416340025,2560600608&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800",
    title: "Stroll Through Ancient Streets",
    subtitle: "Discover Historical Treasures",
    city: "Cartago, Costa Rica",
    rate: 4,
    description: "Walking along these ancient streets, you will discover treasures left by history. There is unparalleled beauty and historical sediment here, where every stone carries stories of the past."
   },
   {
    id: 4,
    url: "https://img1.baidu.com/it/u=2363292813,1213167113&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500",
    title: "Encounter with Mountains and Lakes",
    subtitle: "Experience Natural Wonders",
    city: "Arenal, Costa Rica",
    rate: 4.5,
    description: "Here, you will encounter magnificent mountains and tranquil lakes. Nature's charm coexists harmoniously with humanity, permeating every corner with vitality."
   }
  ]
 },

 // 城市/全国热门景点
 cityAttractionsList: {
  title: 'Paris the romantic city',
  list: [
   {
    id: 2,
    url: "https://img0.baidu.com/it/u=828901985,1666157125&fm=253&fmt=auto&app=120&f=JPEG?w=1280&h=800",
    title: "Louvre Museum",
    subtitle: "Originally a royal palace in France, now the Louvre Museum with 35,000 art collections",
    city: "Along the Seine River in the center of Paris",
    rate: getRandomRate(3, 5),
    description: "The Louvre Museum is located along the Seine River in the center of Paris, one of the most famous buildings in French history, initially as a royal palace. Now, the Louvre is one of the world's most important art museums, with over 35,000 works of art from around the globe, including sculptures, paintings, and decorative arts. It showcases not only the diversity and excellence of world art but also serves as a significant place to explore French history and culture."
   },
   {
    id: 3,
    url: "https://i2.hdslb.com/bfs/archive/35caa4af28f3c7ac46c04f1f5c22dcdfd962ef24.jpg",
    title: "Champs-Élysées",
    subtitle: "Famous shopping street in central Paris, combining historical buildings and luxury fashion brands",
    city: "Central Paris",
    rate: getRandomRate(3, 5),
    description: "The Champs-Élysées is one of the most famous avenues in central Paris, both a paradise for shoppers and a must-visit for fashion enthusiasts. The streets are lined with boutique shops of various high-end fashion brands and gourmet restaurants, attracting tourists from around the world. Additionally, the Champs-Élysées boasts many historic buildings and cultural landmarks, such as the Grand Palais and the Petit Palais, showcasing the unique charm and cultural heritage of Paris. Whether shopping or exploring history, the Champs-Élysées is an ideal place to experience the essence of Paris."
   },
   {
    id: 1,
    url: "https://fj.psjia.com/d/file/bigpic/2022/01/12/h4nz0f5jtxw.jpg",
    title: "Eiffel Tower",
    subtitle: "Built in 1889, 300 meters high, built to commemorate the 100th anniversary of the Great Revolution and welcome the Paris World Expo",
    city: "Paris, Place du Trocadéro",
    rate: getRandomRate(3, 5),
    description: "The Eiffel Tower, located in the Place du Trocadéro in Paris, is one of the most famous buildings in the world. This iron tower was built in 1889, standing at 300 meters (including the antenna's total height of 324 meters), to celebrate the 100th anniversary of the French Revolution and welcome the Paris World Expo. It is not only a symbol of Paris but also a masterpiece of modern architecture and engineering. Millions of tourists visit this place every year, not only to admire its magnificent views but also to experience its cultural and historical significance."
   },
   {
    id: 4,
    url: "https://img1.baidu.com/it/u=2485036507,4071789372&fm=253&app=138&f=JPEG?w=1422&h=800",
    title: "Sacré-Cœur Basilica",
    subtitle: "Romanesque architecture church located on the Montmartre hill, overlooking the panorama of northern Paris",
    city: "Montmartre Hill, Paris",
    rate: getRandomRate(3, 5),
    description: "The Sacré-Cœur Basilica is a famous religious building in Paris, located on the Montmartre hill, characterized by its typical Romanesque architectural style. The design and construction of the church are full of historical and artistic essence, especially famous for its soaring dome and spectacular bell tower. Climbing to the dome of the Sacré-Cœur Basilica, visitors can overlook the magnificent scenery of northern Paris, including the Montmartre hill and the charming views of the Seine River. The Sacré-Cœur Basilica not only serves as a significant religious site but also attracts countless tourists with its historical value and stunning views."
   }
  ]
 },

 exploreList: {
  title: 'voyage of discovery',
  list: [
   {
    "id": 1,
    "url": "https://img0.baidu.com/it/u=331295850,1794768872&fm=253&fmt=auto?w=1422&h=800",
    "title": "Dreamy Coastline",
    "subtitle": "Explore the Beauty of Serenity",
    "city": "San José, Costa Rica",
    "rate": 4.5,
    "description": "On this dreamy coastline, it's more than just a simple hello; it's the stories of lizards, dolphins, horses, and turtles. How tightly they wrap around each other, how they find humility in severity and strictness, how they remain opaque in challenging environments. This is an incredibly safe and poetic place, where one can feel the miracles and infinite beauty of nature."
   },
   {
    "id": 4,
    "url": "https://img1.baidu.com/it/u=2363292813,1213167113&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500",
    "title": "Encounter with Mountains and Lakes",
    "subtitle": "Experience Natural Wonders",
    "city": "Arenal, Costa Rica",
    "rate": 4.5,
    "description": "Here, you will encounter magnificent mountains and serene lakes. Crud shouts auspiciously through the kind white heron, cobra and the front horse just in front of the red more kangaroo ostrich, when frugal near the frog greedy no matter you good and dirty one. In this land, the charm of nature coexists harmoniously with humanity, every corner exudes vitality and vibrancy."
   },
   {
    "id": 2,
    "url": "https://youimg1.c-ctrip.com/target/fd/tg/g3/M06/E2/0C/CggYG1ZhITuARkoLABd4b3PHYS0102.jpg",
    "title": "Lush Rainforest Adventure",
    "subtitle": "Enter the Untouched Land",
    "city": "Talamanca, Costa Rica",
    "rate": 5,
    "description": "In this lush rainforest, there's not much distance between horses and unloading, only a beloved wonderful pangolin. Here, you will discover the mysteries of nature, experience the tranquility and mystery deep within the forest. Nightingales chirp here, plankton swirl on the surface of the water, and light filters through leaves to create a magnificent picture."
   },
   {
    "id": 3,
    "url": "https://b0.bdstatic.com/599ab8d2c95c9dac442ee0dcfe23866a.jpg@h_1280",
    "title": "Strolling through Ancient Streets",
    "subtitle": "Discovering Historical Treasures",
    "city": "Cartago, Costa Rica",
    "rate": 4,
    "description": "Stroll through these ancient streets and you'll discover treasures left by history. Belo Tetrix Teri Kestra Kloontjigit, but after the war there was little light, later in the salmon bishop and hi, uncomfortably through the armadillo, because of the crud honeybee in the distance, um, honey far away, big. Here, there is unparalleled beauty and historical sedimentation, where every stone tells a story of the past."
   },
   {
    "id": 5,
    "url": "https://juming-zx.oss-cn-hangzhou.aliyuncs.com/common/images/202009/30/0957035f73e5ef1e1a5VaUoqo.jpg",
    "title": "Disney",
    "subtitle": "Discovering Historical Treasures",
    "city": "Cartago, Costa Rica",
    "rate": 4,
    "description": "Stroll through these ancient streets and you'll discover treasures left by history. Belo Tetrix Teri Kestra Kloontjigit, but after the war there was little light, later in the salmon bishop and hi, uncomfortably through the armadillo, because of the crud honeybee in the distance, um, honey far away, big. Here, there is unparalleled beauty and historical sedimentation, where every stone tells a story of the past."
   },
   {
    "id": 6,
    "url": "https://fj.psjia.com/d/file/bigpic/2022/01/12/h4nz0f5jtxw.jpg",
    "title": "Eiffel Tower",
    "subtitle": "Built in 1889, 300 meters high, built to commemorate the 100th anniversary of the revolution and welcome the Paris Expo",
    "city": "Paris War God Square",
    "rate": "getRandomRate(3, 5)",
    "description": "The Eiffel Tower, located in the God of War Square in Paris, France, is one of the most famous buildings in the world. This iron tower was built in 1889, 300 meters high (including antenna height 324 meters), to celebrate the 100th anniversary of the French Revolution and welcome the Paris Expo. It is not only a symbol of Paris, but also a masterpiece of modern architecture and engineering. Millions of tourists flock here every year, not only to admire its magnificent scenery, but also to experience its cultural and historical significance."
   },
   {
    "id": 7,
    "url": "https://img2.baidu.com/it/u=3197717952,2263138224&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=334",
    "title": "Sacred Heart Cathedral",
    "subtitle": "Located on Montmartre Hill, Romanesque architecture cathedral, overlooking the panoramic view of northern Paris",
    "city": "Montmartre, Paris",
    "rate": "getRandomRate(3, 5)",
    "description": "The Sacred Heart Cathedral is a famous religious building in Paris, located on Montmartre Hill, it is a typical Romanesque architectural style cathedral. The design and construction of the cathedral are full of the essence of history and art, especially famous for its towering dome and spectacular bell tower. Climbing to the dome of the Sacred Heart Cathedral, visitors can overlook the magnificent scenery of northern Paris, including the charming scenery of Montmartre Hill and the Seine River. The Sacred Heart Cathedral is not only a place of religious faith, but also an ideal place for tourists to appreciate the beauty of Paris and architectural art."
   },

  ]
 },

 // 景致
 photos: [
  'https://img1.baidu.com/it/u=2363292813,1213167113&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
  'https://img1.baidu.com/it/u=652503822,1260190087&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500',
  'https://img0.baidu.com/it/u=3038616229,2517814410&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
  'https://img2.baidu.com/it/u=1522598313,2281370586&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
  'https://img2.baidu.com/it/u=1376771236,892213234&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
  'https://img1.baidu.com/it/u=2363292813,1213167113&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
  'https://img1.baidu.com/it/u=652503822,1260190087&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500',
  'https://img0.baidu.com/it/u=3038616229,2517814410&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
  'https://img2.baidu.com/it/u=1522598313,2281370586&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
  'https://img2.baidu.com/it/u=1376771236,892213234&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500'
 ],


};
